# Contributor: David Demelier <markand@malikania.fr>
# Maintainer: David Demelier <markand@malikania.fr>
pkgname=libretro-beetle-ngp
pkgver=0_git20200130
pkgrel=0
_commit="6f15532b6ad17a2d5eb9dc8241d6af62416e796b"
pkgdesc="standalone port of Mednafen NGP to the libretro API"
url="https://github.com/libretro/libretro-beetle-ngp"
arch="all"
license="GPL-2.0-only"
source="$pkgname-$_commit.tar.gz::https://github.com/libretro/beetle-ngp-libretro/archive/$_commit.tar.gz"
builddir="$srcdir/beetle-ngp-libretro-$_commit"
options="!check" # No tests

build() {
	make
}

package() {
	install -Dm644 mednafen_ngp_libretro.so "$pkgdir"/usr/lib/libretro/mednafen_ngp_libretro.so
}

sha512sums="f0aa1f2096ef9f17121018215c52850205f4d553553e66341f4c5604982ca16fe486c74c62043775eda74be72f92d64b73672a6afedccb7a02ccef04595c0099  libretro-beetle-ngp-6f15532b6ad17a2d5eb9dc8241d6af62416e796b.tar.gz"
